package com.buba.cargo.service.Impl;

import com.buba.cargo.pojo.OrderForm;
import com.buba.cargo.service.OrderFormService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("orderFormImpl")
public class OrderFormImpl implements OrderFormService {
    @DubboReference
    private OrderFormService orderFormMapper;

    @Override
    public Integer addOrderForm(Map<String, Object> map) {
        return orderFormMapper.addOrderForm(map);
    }

    @Override
    public Long selOrderFormCount(Map<String, Object> map) {
        return orderFormMapper.selOrderFormCount(map);
    }

    @Override
    public List<OrderForm> selOrderForm(Map<String, Object> map) {
        return orderFormMapper.selOrderForm(map);
    }

    @Override
    public Integer updOrderFormByshenhe(Map<String, Object> map) {
        return orderFormMapper.updOrderFormByshenhe(map);
    }

    @Override
    public Integer delOrderForm(List<String> list) {
        return orderFormMapper.delOrderForm(list);
    }
}
